WooCommerce\Square\Gateway\API S

Total Complexity 39
Dependencies 22
Dependents 1
Total lines 511
Lines of code 149
Logical lines of code 89
Comment lines 222
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
tokenize_payment_method()
S
57 4 17
credit_card_capture()
S
61 4 11
refund()
S
61 4 11
void()
S
61 4 11
adjust_order()
S
61 2 11
do_post_parse_response_validation()
S
71 2 6
get_transaction()
S
64 2 9
check_debit()
S
98 1 1
get_api_id()
S
81 1 3
get_order()
S
82 1 3
get_location_id()
S
82 1 3
supports_remove_tokenized_payment_method()
S
82 1 3
supports_update_tokenized_payment_method()
S
82 1 3
supports_get_tokenized_payment_methods()
S
82 1 3
__construct()
S
75 1 4
get_payment()
S
69 1 6
credit_card_authorization()
S
69 1 6
create_order()
S
67 1 7
remove_tokenized_payment_method()
S
69 1 6
get_tokenized_payment_methods()
S
69 1 6
create_customer()
S
69 1 6
create_customer_card()
S
69 1 6
credit_card_charge()
S
69 1 6
update_tokenized_payment_method()
S
98 1 1